﻿/// <binding BeforeBuild='webpack:build' />
/*
This file in the main entry point for defining grunt tasks and using grunt plugins.
Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
*/
module.exports = function (grunt) {

    //Load Npm Tasks
    grunt.loadNpmTasks("grunt-webpack");
    
    var webpackConfig = require("./webpack.config.js");

    grunt.initConfig({
        webpack: {
            options: webpackConfig,
            build: {
                // configuration for this build
            }
        }
    });

    grunt.registerTask('test-run', 'Test task.', function () {
        grunt.log.writeln('A test task; running the "default" task.');
    });
};